package com.gcd.knowledge;

public class TreeAnak extends Tree {
	public TreeAnak() {
		nodes = new Node[] {

				new Node("anak", "root", Node.TYPE.QUESTION,
						Node.QUESTION.HAS_ANAK, "jumlah anak", "solusi anak 1",
						"solusi anak 1", null, "Karena"),

				new Node("anak", "jumlah anak", Node.TYPE.QUESTION,
						Node.QUESTION.JUMLAH_ANAK, "jenis kelamin anak 1",
						"jenis kelamin anak 2", "", null, "memiliki anak"),

				new Node("anak", "jenis kelamin anak 1", Node.TYPE.QUESTION,
						Node.QUESTION.JENIS_KELAMIN_ANAK, "solusi anak 2",
						"solusi anak 3", "", null, "berjumlah 1"),

				new Node("anak", "jenis kelamin anak 2", Node.TYPE.QUESTION,
						Node.QUESTION.JENIS_KELAMIN_ANAK, "solusi anak 4",
						"solusi anak 5", "solusi anak 6", null, "berjumlah lebih dari satu"),

				new Node("anak", "solusi anak 1", Node.TYPE.SOLUTION, null, "",
						"", "", 1, "tidak memiliki anak"),

				new Node("anak", "solusi anak 2", Node.TYPE.SOLUTION, null, "",
						"", "", 2, "berjenis kelamin laki-laki"),

				new Node("anak", "solusi anak 3", Node.TYPE.SOLUTION, null, "",
						"", "", 3, "berjenis kelamin perempuan"),

				new Node("anak", "solusi anak 4", Node.TYPE.SOLUTION, null, "",
						"", "", 4, "berjenis kelamin laki-laki"),

				new Node("anak", "solusi anak 5", Node.TYPE.SOLUTION, null, "",
						"", "", 5, "berjenis kelamin perempuan"),

				new Node("anak", "solusi anak 6", Node.TYPE.SOLUTION, null, "",
						"", "", 6, "berjenis kelamin laki-laki serta perempuan") };

	}
}
